package com.ruoyi.system.service;

import com.ruoyi.system.domain.OrderContrastBusinessDetail;

import java.util.List;

/**
 * 返佣商户比例明细Service接口
 *
 * @author hjf
 * @date 2025-06-06
 */
public interface IOrderContrastBusinessDetailService {
    /**
     * 查询返佣商户比例明细
     *
     * @param id 返佣商户比例明细主键
     * @return 返佣商户比例明细
     */
    public OrderContrastBusinessDetail selectOrderContrastBusinessDetailById(Long id);

    /**
     * 查询返佣商户比例明细列表
     *
     * @param orderContrastBusinessDetail 返佣商户比例明细
     * @return 返佣商户比例明细集合
     */
    public List<OrderContrastBusinessDetail> selectOrderContrastBusinessDetailList(OrderContrastBusinessDetail orderContrastBusinessDetail);

    /**
     * 新增返佣商户比例明细
     *
     * @param orderContrastBusinessDetail 返佣商户比例明细
     * @return 结果
     */
    public int insertOrderContrastBusinessDetail(OrderContrastBusinessDetail orderContrastBusinessDetail);

    /**
     * 修改返佣商户比例明细
     *
     * @param orderContrastBusinessDetail 返佣商户比例明细
     * @return 结果
     */
    public int updateOrderContrastBusinessDetail(OrderContrastBusinessDetail orderContrastBusinessDetail);

    /**
     * 批量删除返佣商户比例明细
     *
     * @param ids 需要删除的返佣商户比例明细主键集合
     * @return 结果
     */
    public int deleteOrderContrastBusinessDetailByIds(Long[] ids);

    /**
     * 删除返佣商户比例明细信息
     *
     * @param id 返佣商户比例明细主键
     * @return 结果
     */
    public int deleteOrderContrastBusinessDetailById(Long id);
}
